package org.dromara.crawler.mongo.mongoservice;

import com.mongoplus.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.crawler.domain.vo.ElementTargetVo;
import org.dromara.crawler.domain.vo.HotspotEventVo;
import org.dromara.crawler.mongo.mongodomain.HotspotEvent;
import java.util.List;
import java.util.Map;


public interface HotspotEventService extends IService<HotspotEvent> {
    HotspotEvent queryById(String id);
    List<HotspotEvent> getAll();

    List<HotspotEvent> getAllOrderByScoreAndTime(String searchKeywords);

    Object queryHotspotEventTree(String eventId);

    List<HotspotEvent> queryHotspotList(String keyword);

    Map<String, Integer> getMonthStatistics(String keyword);

    Page<HotspotEvent> queryHotspotEventPage(String keyword, PageQuery pageQuery);

    List<HotspotEventVo> getHotspotEvent();

    List<ElementTargetVo> getRelatedTargets(String hotspotEventId);

}
